#include"Heap.h"

int main()
{
	int a[] = { 3,5,6,7,4,7,9 };
	HP hp;
	HeapInit(&hp);
	for (int i = 0; i < sizeof(a) / sizeof(int); ++i)
	{
		HeapPush(&hp,a[i]);
	}
	while (!HeapEmpty(&hp))
	{
		printf("%d", HeapTop(&hp));
		HeapPop(&hp);
	}
	return 0;
}